package zyn_hy_login;

public class GetHostInfo
{
	public final void HostCupinfo()
	{
	}

	public final void HostHDinfo()
	{
	}

	public final String z8System_Get_MacAddress()
	{
		String text = "";
		ManagementObjectSearcher searcher = new ManagementObjectSearcher("SELECT * FROM Win32_NetworkAdapterConfiguration");
		try (ManagementObjectCollection.ManagementObjectEnumerator enumerator = searcher.Get().iterator())
		{
			while (enumerator.MoveNext())
			{
				//ati 2012.6.27
				ManagementObject obj2 = new ManagementObject(); // enumerator.get_Current();
				//if (obj2.get_Item("IPEnabled").ToString() == "True")
				//{
				//    text = obj2.get_Item("MacAddress").ToString();
				//}
			}
		}
		return text;
	}
}